// ignore_for_file: unused_import

import 'package:get/get.dart';
import 'package:sz/pages/pages-zhipin/strategy/strategy_list_page.dart';
import 'package:sz/pages/pages-zhipin/strategy/strategy_page.dart';
import 'package:sz/pages/tabbar/index/index_page.dart';
import 'package:sz/pages/login/code_page.dart';
import 'package:sz/pages/pages-mine/mine-set/set_page.dart';
import 'package:sz/pages/tabbar/mine/mine_page.dart';
import 'package:sz/pages/tabbar/shouzhu/shouzhu_page.dart';

import '../pages/tabbar/layout/layout_page.dart';
import '../pages/login/login_page.dart';
import '../pages/pages-mine/mine-set/about_page.dart';
import '../pages/pages-mine/mine-set/safet_page.dart';
import '../pages/webview/webview_page.dart';
import '../pages/tabbar/zhipin/zhipin_page.dart';

abstract class AppPages {
  static final pages = [
    //首页
    GetPage(name: '/', page: () => const LayoutPage()),
    GetPage(name: '/index', page: () => const IndexPage()),
    GetPage(name: "/shouzhu", page: () => const ShouzhuPage()),
    GetPage(name: "/mine", page: () => const MinePage()),
    GetPage(name: "/mineSet", page: () => const SetPage()),
    // 关于首筑
    GetPage(name: "/mineSet/about", page: () => const AboutPage()),
    // 账户与安全
    GetPage(name: "/mineSet/safet", page: () => const SafetPage()),

    // 网页
    GetPage(
        name: '/webview', page: () => WebviewPage(config: WebConfig(url: ""))),
    // 登陆
    GetPage(name: '/login', page: () => const LoginPage()),
    // 验证码登录
    GetPage(
      name: '/login/code',
      page: () => const CodePage(),
    ),
    // 求职攻略
    GetPage(
      name: '/pages-zhipin/strategy',
      page: () => const StrategyPage(),
    ),
    // 求职攻略-列表
    GetPage(
      name: '/pages-zhipin/strategy/list',
      page: () => const StrategyListPage(),
    ),
  ];
}
